﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace helloworld
{
    public class MyHello
    {
        public void MyHelloA(String s)
        {
            Console.WriteLine("{0}", s);
        }
    }

    class hello
    {
        static void Main(string[] args)
        {
            ConsoleColor curFore = Console.ForegroundColor;
            ConsoleColor curBack = Console.BackgroundColor;

            Console.ForegroundColor = ConsoleColor.White;
            Console.BackgroundColor = ConsoleColor.DarkGray;
            Console.WriteLine("This is my first C# program! ");
            Console.ForegroundColor = curFore;
            Console.BackgroundColor = curBack;


            MyHello hello = new MyHello();
            for (int i = 0; i < args.Length; i++)
            {
                hello.MyHelloX(args[i]);
            }
        }
    }
}
